package com.xiangban.yanglaodajie_platform.entity.dto;

import com.xiangban.yanglaodajie_platform.entity.ShoppingCart;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/3/18 11:35
 */
@Data
public class ShoppingCartDto extends ShoppingCart {

    @ApiModelProperty(value = "分类名")
    private String classifyName;

    @ApiModelProperty(value = "商家名")
    private String shopName;

    @ApiModelProperty(value = "商品名")
    private String goodsName;

    @ApiModelProperty(value = "商品logo")
    private String goodsLogo;

    @ApiModelProperty(value = "商品价格")
    private String goodsPrice;

    @ApiModelProperty(value = "商品信息")
    private List<ShoppingCartDto> list;

    @ApiModelProperty(value = "??积分")
    private BigDecimal newpoints;

    @ApiModelProperty(value = "商家是否属于配送：1：是，2：自提，-1：不是配送商家")
    private Integer isDispatching;

//    @ApiModelProperty(value = "应结算价格和")
//    private Integer priceSum;

    private List<Integer> ids;//

    private boolean flag = false;
    @ApiModelProperty(value = "库存")
    private Integer inventory;
    @ApiModelProperty(value = "订单状态1：已支付（带消费），2：已完成 ，3：已取消（超时取消）4:用户取消 " +
                                    "-1：未支付 -2:删除 -3:退款中 -4:已退款 -5:退款失败")
    private Integer orderStatus;

    //1：配送2：自提
    private Integer isTakes;
    //自取时间
    private String takesTime;
    //自取电话
    private String takesPhone;

    //收货地址id
    private Integer addressId;

    private Integer classifyId;//商品归属分类

    private String goodStatus;//商品状态

    private String shopStatus;//商家状态

}
